package org.jeecg.modules.oa.service.impl;

import org.jeecg.modules.oa.entity.OaCommentRecord;
import org.jeecg.modules.oa.mapper.OaCommentRecordMapper;
import org.jeecg.modules.oa.service.IOaCommentRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 评论已查看记录表
 * @Author: jeecg-boot
 * @Date:   2019-09-20
 * @Version: V1.0
 */
@Service
public class OaCommentRecordServiceImpl extends ServiceImpl<OaCommentRecordMapper, OaCommentRecord> implements IOaCommentRecordService {
    @Autowired
    private OaCommentRecordMapper commentRecordMapper;
    @Override
    public OaCommentRecord findReplyIdByTopicId(String topicId, String userId) {
        return commentRecordMapper.findReplyIdByTopicId(topicId,userId);
    }
}
